using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 图片相册
    /// </summary>
    public class dt_article_albums
    {
        /// <summary>
        /// 图片相册
        /// </summary>
        public dt_article_albums()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 频道ID
        /// </summary>
        public System.Int32? channel_id { get; set; }

        /// <summary>
        /// 文章ID
        /// </summary>
        public System.Int32? article_id { get; set; }

        /// <summary>
        /// 缩略图地址
        /// </summary>
        public System.String thumb_path { get; set; }

        /// <summary>
        /// 原图地址
        /// </summary>
        public System.String original_path { get; set; }

        /// <summary>
        /// 图片描述
        /// </summary>
        public System.String remark { get; set; }

        /// <summary>
        /// 上传时间
        /// </summary>
        /// 
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }
        public System.Int32? sort_id { get; set; }
    }
}